package com.der.useHight;

/**
 * @program: jmockit-study
 * @description: 一个包含初始代码块的普通类
 * @author: long
 * @create: 2019-07-29 15:57
 */
public class AnOrdinaryClassWithBlock {
    private int i;

    public static int j;

    // 初始代码块
    {
        i = 1;
    }
    // 静态初始代码块
    static {
        j = 2;
    }

    // 构造函数
    public AnOrdinaryClassWithBlock(int i) {
        this.i = i;
    }

    public int getI() {
        return i;
    }

    public void setI(int i) {
        this.i = i;
    }

}
